rolesystem.roles.auction
Class Money

java.lang.Object
  extended by rolesystem.roles.auction.Money
All Implemented Interfaces:
java.io.Serializable

public class Money
extends java.lang.Object
implements java.io.Serializable

This class represents a payment. Instances of this class are constant, once created they cannot be changed.

See Also:
Serialized Form

Constructor Summary
Money(Price amount)
           
 
Method Summary
 Price getAmount()
          Returns the amount of this payment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Money

public Money(Price amount)
Parameters:
amount - Amount of payment.
Method Detail

getAmount

public Price getAmount()
Returns the amount of this payment.

Returns:
The amount of this payment.